<template>
<div>
 <el-button v-bind="foProps" @click="$emit('buttonClick')">{{value}}</el-button>
</div>
</template>

<script setup>
import { ref } from 'vue' 
const props = defineProps({
    foProps:Object,
    modelValue:String
})
console.log(props.foProps);
const value = ref('')
value.value = props.modelValue

</script>

<style lang='scss' scoped>

</style>